package com.itwhy.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;

/**
 * ClassName UserStatus
 *
 * @author 王海云
 * @version 1.0.0
 * @date 2023/11/22
 * @time 22:00
 */
public enum UserStatus {
    NORMAL(1, "正常"),
    FROZEN(2, "冻结"),;
    @EnumValue
    private final int value;
    @JsonValue
    private final String desc;
    UserStatus(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }
}
